<?php defined('IN_PHPCMS') or exit('No permission resources.'); ?><!-- RD Navbar minimal-->
<div class="rd-navbar-wrap">
  <nav data-md-device-layout="rd-navbar-fixed" data-lg-device-layout="rd-navbar-static" data-md-stick-up-offset="120px" data-lg-stick-up-offset="120px" class="rd-navbar rd-navbar-minimal rd-navbar-light" data-lg-auto-height="true" data-md-layout="rd-navbar-static" data-lg-layout="rd-navbar-static" data-lg-stick-up="true">
    <div class="rd-navbar-inner">
      <div class="rd-navbar-top-panel">
        <?php if(defined('IN_ADMIN')  && !defined('HTML')) {echo "<div class=\"admin_piao\" pc_action=\"content\" data=\"op=content&tag_md5=a775187177240fa77f73aef1806dde87&action=lists&catid=33&num=4&siteid=%24siteid&order=listorder+ASC&moreinfo=1&return=top\"><a href=\"javascript:void(0)\" class=\"admin_piao_edit\">编辑</a>";}$content_tag = pc_base::load_app_class("content_tag", "content");if (method_exists($content_tag, 'lists')) {$top = $content_tag->lists(array('catid'=>'33','siteid'=>$siteid,'order'=>'listorder ASC','moreinfo'=>'1','limit'=>'4',));}?>

        <div>
          <address class="contact-info reveal-sm-inline-block text-left offset-none">
            <div class="p unit unit-spacing-xs unit-horizontal">
              <div class="unit-left"><span class="icon icon-xs icon-circle icon-gray-light mdi mdi-phone text-java"></span></div>
              <div class="unit-body text-gray-darker" style="margin-top:13px;"><?php echo $top['33']['content'];?></div>
            </div>
          </address>
        </div>
        <!--Navbar Brand-->
        <div class="rd-navbar-brand veil reveal-md-inline-block"><a href="index.html"><img width='316' height='57' class='img-responsive' src='/resources/images/logo-dark.png' alt=''/></a></div>
        <div>
          <address class="contact-info reveal-sm-inline-block text-left">
            <div class="p unit unit-horizontal unit-spacing-xs">
              <div class="unit-left"><span class="icon icon-xs icon-circle icon-gray-light mdi mdi-map-marker text-java"></span></div>
              <div class="unit-body text-gray-darker"><?php echo $top['35']['content'];?></div>
            </div>
          </address>
        </div>
        <?php if(defined('IN_ADMIN') && !defined('HTML')) {echo '</div>';}?>
      </div>
      <!-- RD Navbar Panel-->
      <div class="rd-navbar-panel">
        <!-- RD Navbar Toggle-->
        <button data-rd-navbar-toggle=".rd-navbar, .rd-navbar-nav-wrap" class="rd-navbar-toggle"><span></span></button>
        <!--Navbar Brand-->
        <div class="rd-navbar-brand veil-md"><a href="index.html"><img width='316' height='57' class='img-responsive' src='/resources/images/logo-dark.png' alt=''/></a></div>
        <button data-rd-navbar-toggle=".rd-navbar, .rd-navbar-top-panel" class="rd-navbar-top-panel-toggle"><span></span></button>
      </div>
      <div class="rd-navbar-menu-wrap">
        <div class="rd-navbar-nav-wrap">
          <div class="rd-navbar-mobile-scroll">
            <!--Navbar Brand Mobile-->
            <div class="rd-navbar-mobile-brand"><a href="index.html"><img width='316' height='57' class='img-responsive' src='/resources/images/logo-dark.png' alt=''/></a></div>
            <div class="form-search-wrap">
              <!-- RD Search Form-->
              <form action="<?php echo APP_PATH;?>index.php" method="GET" class="form-search rd-search">
                <input type="hidden" name="m" value="search"/>
                <input type="hidden" name="c" value="index"/>
                <input type="hidden" name="a" value="init"/>
                <input type="hidden" name="typeid" value="1" id="typeid"/>
                <input type="hidden" name="siteid" value="1" id="siteid"/>
                <div class="form-group">
                  <label for="rd-navbar-form-search-widget" class="form-label form-search-label form-label-sm">搜索</label>
                  <input id="rd-navbar-form-search-widget" type="text" name="q" autocomplete="off" class="form-search-input form-control form-control-gray-lightest input-sm"/>
                </div>
                <button type="submit" class="form-search-submit"><span class="fa fa-search"></span></button>
              </form>
            </div>
            <!-- RD Navbar Nav-->
            <?php if(defined('IN_ADMIN')  && !defined('HTML')) {echo "<div class=\"admin_piao\" pc_action=\"content\" data=\"op=content&tag_md5=eba1cec1441ae464436eb992164f3704&action=category&catid=0&num=25&siteid=%24siteid&order=listorder+ASC&return=nav\"><a href=\"javascript:void(0)\" class=\"admin_piao_edit\">编辑</a>";}$content_tag = pc_base::load_app_class("content_tag", "content");if (method_exists($content_tag, 'category')) {$nav = $content_tag->category(array('catid'=>'0','siteid'=>$siteid,'order'=>'listorder ASC','limit'=>'25',));}?>
            <ul class="rd-navbar-nav">
        			<li <?php if(($catid == null)) { ?>class="active"<?php } ?>><a href="<?php echo siteurl($siteid);?>"><span>首页</span></a></li>
              <?php $n=1;if(is_array($nav)) foreach($nav AS $r) { ?>
        			<li <?php if(( in_array($catid,explode(',',$r['arrchildid'])) )) { ?>class="active"<?php } ?>>
                <a href="<?php echo $r['url'];?>"><span><?php echo $r['catname'];?></span></a>
                <?php if($r['catid'] == 10) { ?>
                  <div class="rd-navbar-megamenu">
                    <div class="row">
                      <div class="col-md-4 col-lg-4">
                        <h6><a href="<?php echo $CATEGORYS['16']['url'];?>" class="text-black"><?php echo $CATEGORYS['16']['catname'];?></a></h6>
                        <hr class="text-subline"/>
                        <?php if(defined('IN_ADMIN')  && !defined('HTML')) {echo "<div class=\"admin_piao\" pc_action=\"content\" data=\"op=content&tag_md5=ac370e5687658dd2493131475f84c2b9&action=lists&catid=16&num=100&siteid=%24siteid&order=listorder+DESC&return=tag\"><a href=\"javascript:void(0)\" class=\"admin_piao_edit\">编辑</a>";}$content_tag = pc_base::load_app_class("content_tag", "content");if (method_exists($content_tag, 'lists')) {$tag = $content_tag->lists(array('catid'=>'16','siteid'=>$siteid,'order'=>'listorder DESC','limit'=>'100',));}?>
                          <?php $n=1;if(is_array($tag)) foreach($tag AS $v) { ?>
                            <?php $tags16 .= $v['keywords'].' '?>
                          <?php $n++;}unset($n); ?>
                          <?php $value16 = str_replace(' ','\',\'',trim($tags16))?>
                        <?php if(defined('IN_ADMIN') && !defined('HTML')) {echo '</div>';}?>
                        <?php if(defined('IN_ADMIN')  && !defined('HTML')) {echo "<div class=\"admin_piao\" pc_action=\"get\" data=\"op=get&tag_md5=24af13aa247b4f8b1eac4d31ee6dd531&sql=SELECT+%2A+FROM+hy_keyword+WHERE+keyword+IN+%28%27%24value16%27%29+ORDER+BY+videonum+DESC&num=5&return=keys\"><a href=\"javascript:void(0)\" class=\"admin_piao_edit\">编辑</a>";}pc_base::load_sys_class("get_model", "model", 0);$get_db = new get_model();$r = $get_db->sql_query("SELECT * FROM hy_keyword WHERE keyword IN ('$value16') ORDER BY videonum DESC LIMIT 5");while(($s = $get_db->fetch_next()) != false) {$a[] = $s;}$keys = $a;unset($a);?>
                        <ul class="list-unstyled offset-lg-top-25">
                          <?php $n=1;if(is_array($keys)) foreach($keys AS $r) { ?>
                          <li><a href="<?php echo APP_PATH;?>index.php?m=content&c=tag&a=lists&tag=<?php echo urlencode($r['keyword']);?>"><?php echo $r['keyword'];?></a></li>
                          <?php $n++;}unset($n); ?>
                        </ul>
                        <?php if(defined('IN_ADMIN') && !defined('HTML')) {echo '</div>';}?>
                      </div>
                      <div class="col-md-4 col-lg-4">
                        <h6><a href="<?php echo $CATEGORYS['17']['url'];?>" class="text-black"><?php echo $CATEGORYS['17']['catname'];?></a></h6>
                        <hr class="text-subline"/>
                        <?php if(defined('IN_ADMIN')  && !defined('HTML')) {echo "<div class=\"admin_piao\" pc_action=\"content\" data=\"op=content&tag_md5=5d32fa2e20b953c0a119aef399caf8ad&action=lists&catid=17&num=100&siteid=%24siteid&order=listorder+DESC&return=tag\"><a href=\"javascript:void(0)\" class=\"admin_piao_edit\">编辑</a>";}$content_tag = pc_base::load_app_class("content_tag", "content");if (method_exists($content_tag, 'lists')) {$tag = $content_tag->lists(array('catid'=>'17','siteid'=>$siteid,'order'=>'listorder DESC','limit'=>'100',));}?>
                          <?php $n=1;if(is_array($tag)) foreach($tag AS $v) { ?>

                            <?php $tags17 .= $v['keywords'].' '?>
                          <?php $n++;}unset($n); ?>
                          <?php $value17 = str_replace(' ','\',\'',trim($tags17))?>
                        <?php if(defined('IN_ADMIN') && !defined('HTML')) {echo '</div>';}?>
                        <?php if(defined('IN_ADMIN')  && !defined('HTML')) {echo "<div class=\"admin_piao\" pc_action=\"get\" data=\"op=get&tag_md5=ed4187d9d1eb09e7ab13be925f092bca&sql=SELECT+%2A+FROM+hy_keyword+WHERE+keyword+IN+%28%27%24value17%27%29+ORDER+BY+videonum+DESC&num=5&return=keys\"><a href=\"javascript:void(0)\" class=\"admin_piao_edit\">编辑</a>";}pc_base::load_sys_class("get_model", "model", 0);$get_db = new get_model();$r = $get_db->sql_query("SELECT * FROM hy_keyword WHERE keyword IN ('$value17') ORDER BY videonum DESC LIMIT 5");while(($s = $get_db->fetch_next()) != false) {$a[] = $s;}$keys = $a;unset($a);?>
                        <ul class="list-unstyled offset-lg-top-25">
                          <?php $n=1;if(is_array($keys)) foreach($keys AS $r) { ?>
                          <li><a href="<?php echo APP_PATH;?>index.php?m=content&c=tag&a=lists&tag=<?php echo urlencode($r['keyword']);?>"><?php echo $r['keyword'];?></a></li>
                          <?php $n++;}unset($n); ?>
                        </ul>
                        <?php if(defined('IN_ADMIN') && !defined('HTML')) {echo '</div>';}?>
                      </div>
                      <div class="col-md-4 col-lg-4">
                        <h6>其他内容</h6>
                        <hr class="text-subline"/>
                        <ul class="list-unstyled offset-lg-top-25">
                          <li><a href="<?php echo $CATEGORYS['31']['url'];?>"><?php echo $CATEGORYS['31']['catname'];?></a></li>
                          <li><a href="<?php echo $CATEGORYS['32']['url'];?>"><?php echo $CATEGORYS['32']['catname'];?></a></li>
                        </ul>
                      </div>
                    </div>
                  </div>
                <?php } elseif ($r['child'] == 1 && $r['catid'] != 1) { ?>
                  <ul class="rd-navbar-dropdown">
                    <?php $n=1;if(is_array(subcat($r['catid']))) foreach(subcat($r['catid']) AS $r2) { ?>
                    <li><a href="<?php echo $r2['url'];?>"><span class="text-middle"><?php echo $r2['catname'];?></span></a>
                    </li>
                    <?php $n++;}unset($n); ?>
                  </ul>
                <?php } ?>
              </li>
        			<?php $n++;}unset($n); ?>
            </ul>
            <?php if(defined('IN_ADMIN') && !defined('HTML')) {echo '</div>';}?>
          </div>
        </div>
        <!--RD Navbar Search-->
        <div class="rd-navbar-search"><a data-rd-navbar-toggle=".rd-navbar-menu-wrap,.rd-navbar-search" href="#" class="rd-navbar-search-toggle mdi"><span></span></a>
          <form action="<?php echo APP_PATH;?>index.php" method="GET" class="rd-navbar-search-form search-form-icon-right rd-search">
            <input type="hidden" name="m" value="search"/>
            <input type="hidden" name="c" value="index"/>
            <input type="hidden" name="a" value="init"/>
            <input type="hidden" name="typeid" value="1" id="typeid"/>
            <input type="hidden" name="siteid" value="1" id="siteid"/>
            <div class="form-group">
              <label for="rd-navbar-search-form-input" class="form-label">输入关键字并按回车...</label>
              <input id="rd-navbar-search-form-input" type="text" name="q" autocomplete="off" class="rd-navbar-search-form-input form-control form-control-gray-lightest search-q"/>
            </div>
            <div id="rd-search-results-live" class="rd-search-results-live"></div>
          </form>
        </div>
      </div>
    </div>
  </nav>
</div>
